package com.geek.water.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author yangwenqi
 * @decs TODO
 * @date 2025/7/25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("role_permission")
@ApiModel(description = "角色-权限关联表")
public class RolePermission implements Serializable {
    @ApiModelProperty("关联角色ID")
    @TableField("role_id")
    private Long roleId;

    @ApiModelProperty("关联权限ID")
    @TableField("permission_id")
    private Long permissionId;
}
